package com.xiaoxx.model.entity.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoxx.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * base--sys--角色/用户关联
 * </p>
 *
 * @author HX
 * @since 2023-07-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_sys_role_user")
@ApiModel(value="SysRoleUser对象", description="base--sys--角色/用户关联")
public class SysRoleUser extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty(value = "角色id")
    @TableField("role_id")
    private String roleId;


}
